package com.yn.module.material.utils.constant;

import com.yn.module.material.pojo.JointGroupPart;

import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @description:    本地缓存
 * @author: 叶甯
 * @create: 2022/10/14 15:16
 * @since: 1.0.0
 * @copyright (C), 2022, https://gitee.com/johnny .All rights reserved.
 */
public interface DataCache {
    // 存储GoodsId->pratNo和medicareCode->partNo
    Map<String,String> CacheGoodsId2PartNo = new ConcurrentHashMap<>();
    // 存储：部件partNO->组套：GroupNo
    Map<String, Set<String>> CachePartNo2Group = new ConcurrentHashMap<>();
    // 存储：组套：groupNo ,value:List<HospJointGroup>
    Map<String, List<JointGroupPart>> Cache_Std_Group2Part = new ConcurrentHashMap<>();
}
